/**
 * 
 */
package com.gragra.sampling.nonproj.generators.projective.singleroot;
import com.gragra.sampling.binary.ConverterFactory;
import com.gragra.sampling.nonproj.generators.projective.CreateMHProjectiveCorpus;
import com.gragra.sampling.nonproj.structures.nonprojective.NonProjDepdTree;
import com.gragra.sampling.nonproj.structures.projective.singleroot.MHMHSingleRootProjectiveDepdTree;
import com.gragra.sampling.sequentialStructure.WordAndTagHolder;
/**
 * @author Christoph Teichmann
 * 11.10.2013
 */
public class CreateMHMHSingleRootProjective extends CreateMHProjectiveCorpus
{
	/**
	 * @param cf
	 */
	public CreateMHMHSingleRootProjective(ConverterFactory cf)
	{super(cf);}
	/* (non-Javadoc)
	 * @see com.gragra.sampling.nonproj.generators.projective.CreateMHProjectiveCorpus#makeTree(com.gragra.sampling.sequentialStructure.WordAndTagHolder, int, double)
	 */
	@Override
	protected NonProjDepdTree makeTree(WordAndTagHolder wth, int threads,
			double smoothing)
	{return new MHMHSingleRootProjectiveDepdTree(wth, threads, this.makeConverter());}
}